package billing.system.io;


import java.io.IOException;
import java.io.OutputStream;

public class MultiOutputStream  extends OutputStream  {
	OutputStream[] outs = null;
	
	public MultiOutputStream(OutputStream... outs) {
		this.outs = outs;
	}

	public void write(int b) throws IOException {
		for (OutputStream out : outs) {
			out.write(b);
		}
	}
}
